package com.example.kao.mapper;

import com.example.kao.entity.Hospital;
import com.example.kao.entity.MedicalAssay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MedicalAssayMapper {

    //查询全部满足条件的数据
    public List<MedicalAssay> MedicaBy(int hospitalId);

    //查询全部满足条件的数据
    public List<MedicalAssay> MedicaByID();

    //新增数据
    public int addMedica(MedicalAssay medicalAssay);

    //修改
    public int updataMedica(int id);

    //查询全部满足条件的数据
    public List<Hospital> HospByID();

}
